package com.goodshop.common.exception;


public class GsException extends RuntimeException {
    /**
     * 异常信息状态码
     */
    private int status;

    public int getStatus() {
        return status;
    }

    public GsException(int status) {
        this.status = status;
    }
    public GsException(int status,String message) {
        super(message);
        this.status = status;
    }

    public GsException(int status,String message,Throwable cause) {
        super(message,cause);
        this.status = status;
    }
    public GsException(int status,Throwable cause) {
        super(cause);
        this.status = status;
    }
}
